PG 8.3 and large shared buffer settings

Поиск
Список
Период
Сортировка
От Dan Sugalski
Тема PG 8.3 and large shared buffer settings
Дата
Msg-id a06240802c6e1df54dd21@[172.16.5.2]
обсуждение исходный текст
Ответы Re: PG 8.3 and large shared buffer settings  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: PG 8.3 and large shared buffer settings  (Greg Smith <gsmith@gregsmith.com>)
Список pgsql-performance
Is there any practical limit to the number of shared buffers PG 8.3.7
can handle before more becomes counter-productive? I remember the
buffer management algorithm used to get unhappy with too many buffers
and past a certain point performance dropped with extra memory
pitched at Postgres.

My production DB's around 200G, and the box hosting it has 192G of
memory on it, running a 64 bit AIX build of 8.3.7. I'm currently
running with 15G of shared buffers, and while performance is pretty
good, things still hit the disk more than I'd like. I can easily bump
the shared buffer setting up to 40G or so without affecting anything
else that matters.

The box runs other things as well as the database, so the OS buffer
cache tends to get effectively flushed -- permanently pinning more of
the database in memory would be an overall win for DB performance,
assuming bad things don't happen because of buffer management.
(Unfortunately I've only got a limited window to bounce the server,
so I can't do too much in the way of experimentation with buffer
sizing)
--
                Dan

--------------------------------------it's like this-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                       teddy bears get drunk

В списке pgsql-performance по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Regarding Sequential Scans count increase each time we press refresh .
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PG 8.3 and large shared buffer settings